ElasticPress\Feature\Facets\Facets B

Total Complexity 83
Dependencies 2
Dependents 1
Total lines 635
Lines of code 291
Logical lines of code 166
Comment lines 249
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
get_aggs()
A
50 14 27
is_facetable()
A
51 12 26
build_query_url()
A
50 9 26
get_selected()
S
52 7 24
output_feature_box_long()
S
55 5 20
is_facetable_page()
S
77 6 3
__construct()
S
51 4 25
facet_query()
S
55 4 21
apply_facets_filters()
S
58 4 16
setup()
S
55 3 17
set_agg_filters()
S
56 3 16
get_allowed_query_args()
S
61 3 11
front_scripts()
S
59 1 16
output_feature_box_settings()
S
61 1 13
admin_scripts()
S
70 1 7
register_widgets()
S
79 1 3
hide_legacy_widget()
S
77 1 4
get_filter_name()
S
75 1 4
get_facetable_taxonomies()
S
75 1 4
get_match_type()
S
75 1 4
remove_facets_filter()
S
76 1 4